package com.yjzx.util.common.util.excel.alibaba;

import java.util.List;

/**
 * @author guozhi
 * @date 2024/9/10
 * @description excel监听类构造通用接口
 */
public interface ExcelListenerInterface {
    <T> ExcelListener<T> build();

    ExcelListenerInterface withHead(List<String>... heads);

    ExcelListenerInterface withHead(List<List<String>> heads);

    ExcelListenerInterface withHead(Class<?> head);

    default ExcelListenerInterface withSkipRowStart(int skipRowStart){
        return this;
    }

    default ExcelListenerInterface withSkipRowEnd(int skipRowEnd){
        return this;
    }
}
